<%--
  Created by IntelliJ IDEA.
  User: 27922
  Date: 2019/10/28
  Time: 18:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div id="form">
    <form action="/article/add.do" method="post" enctype="multipart/form-data">
        <table align="center" width="600px" height="550"px border="1px" cellspacing="0px"
               cellpadding="0px">
            <tr align="center">
                <td>文章标题</td>
                <td><input type="text" name="title" value=""></td>
            </tr>
            <tr align="center">
                <td>UserId</td>
                <td><input type="text" name="userid" value=""></td>
            </tr>
            <tr align="center">
                <td>文章内容</td>
                <td><input type="" name="content" value="">
                </td>
            </tr>
            <tr align="center">
                <td>图片1</td>
                <td> <input type="file" name="img_1" id="img01"></td>
            </tr>
            <tr align="center">
                <td>图片2</td>
                <td> <input type="file" name="img_2" id="img02"></td>
            </tr>
            <tr align="center">
                <td>图片2</td>
                <td> <input type="file" name="img_3" id="img03"></td>
            </tr>
            <tr align="center">
                <td>点赞数</td>
                <td><input type="text" name="beclick" value=""></td>
            <tr align="center">
                <td>举报数</td>
                <td><input  type="text" name="bereport" value=""></td>
            <tr align="center">
                <td>发布时间</td>
            <td><input  type="text" name="releasetime" value=""></td>
            </tr>
            <tr align="center">
                <td>新闻浏览数</td>
                <td><input  type="text" name="views" value=""></td>
            </tr>
            <tr align="center">
                <td colspan="2"><button>新增</button><br>
                    <span>${addarticle}</span></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
